Protect the license and credits buttons from being affected by
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Apr 2005 22:37:02 +0000 (22:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 5 Apr 2005 22:37:02 +0000 (22:37 +0000)
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
the license and credits buttons from being affected by
gtk_widget_show_all().  (#172724)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkaboutdialog.c

index 4aacbe5ca2a67358725f22807ccb961267a6457e..2412a6c9efc61a6f58655c8d232c8ddddf04940d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
+       the license and credits buttons from being affected by 
+       gtk_widget_show_all().  (#172724)
+
 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a 
index 4aacbe5ca2a67358725f22807ccb961267a6457e..2412a6c9efc61a6f58655c8d232c8ddddf04940d 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
+       the license and credits buttons from being affected by 
+       gtk_widget_show_all().  (#172724)
+
 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a 
index 4aacbe5ca2a67358725f22807ccb961267a6457e..2412a6c9efc61a6f58655c8d232c8ddddf04940d 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
+       the license and credits buttons from being affected by 
+       gtk_widget_show_all().  (#172724)
+
 2005-04-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a 
index 6c4e75bca1c8bd76fd0c54adc9a5bc38b337d90b..59eaeac7f2d596cbf510dcfef248e708b6bd5467 100644 (file)
@@ -489,6 +489,7 @@ gtk_about_dialog_init (GtkAboutDialog *about)
 
   /* Add the credits button */
   button = gtk_button_new_from_stock (_("C_redits"));
+  gtk_widget_set_no_show_all (button, TRUE);
   gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area), 
                    button, FALSE, TRUE, 0); 
   gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (about)->action_area), button, TRUE);
@@ -498,6 +499,7 @@ gtk_about_dialog_init (GtkAboutDialog *about)
 
   /* Add the license button */
   button = gtk_button_new_from_stock (_("_License"));
+  gtk_widget_set_no_show_all (button, TRUE);
   gtk_box_pack_end (GTK_BOX (GTK_DIALOG (about)->action_area), 
                    button, FALSE, TRUE, 0); 
   gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (GTK_DIALOG (about)->action_area), button, TRUE);